import request from '@/utils/request'

// 查询博卡退款审核记录列表
export function listBokaRefundOrder(query) {
  return request({
    url: '/business/bokaRefundOrder/list',
    method: 'get',
    params: query
  })
}

// 查询博卡退款审核记录详细
export function getBokaRefundOrder(id) {
  return request({
    url: '/business/bokaRefundOrder/' + id,
    method: 'get'
  })
}

// 新增博卡退款审核记录
export function addBokaRefundOrder(data) {
  return request({
    url: '/business/bokaRefundOrder',
    method: 'post',
    data: data
  })
}

// 修改博卡退款审核记录
export function updateBokaRefundOrder(data) {
  return request({
    url: '/business/bokaRefundOrder',
    method: 'put',
    data: data
  })
}

// 删除博卡退款审核记录
export function delBokaRefundOrder(id) {
  return request({
    url: '/business/bokaRefundOrder/' + id,
    method: 'delete'
  })
}
